package com.example.testviewsub;

import android.app.Activity;

import android.os.Bundle;
import android.view.View;
import android.view.ViewStub;


public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
//		View toast = (ViewStub) findViewById(R.id.vsb_main_toast);
		
		View toast = ((ViewStub) findViewById(R.id.vsb_main_toast)).inflate();
		toast.setVisibility(View.VISIBLE);
	}
}
